package model


type Config struct {
	RpcSecretKey string
	MonitorLogDir string
	TraceLogPath string
	RecvTimeOut int

	//User address
	//Payment address
	//InventoryService address
	//MECService address
	//Broadcast address
	//Example address

	Address Address

	/**
     * 旧的HTTP rpcserver服务配置.
     * @var array
     */
	Rpc map[string]oldAddress

}

type Address struct {
	Uri string
	User string
	Secret string
	Ver float32   //旧版本,现在只实现最新版
	//Compressor string
}

type oldAddress struct  {
	Url string
	User string
	Secret string
}
